package com.xww.goods.service.feign;


import com.xww.common.base.ResultData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "cloud-stock")
public interface FeignStockService {

    @RequestMapping(value = "/stock/count",method = RequestMethod.GET)
    ResultData CountStock();
}
